<template>
	<view>
		<u-popup :show='show' mode="center" :round="10" closeable @close="closeKefu">
			<view class="columnbox kefu-info">
				<!-- <image src="/static/img/qun.jpg" mode="widthFix" class="kefu-img"></image> -->
				<view v-if="type==1" class="kefu-desc">如果您想要继续使用该平台 请联系客服 </view>
				<view v-if="type==2" class="kefu-desc">账号存在问题 请联系客服</view>
				<view v-else class="kefu-desc columnbox">
					<view>{{content}}</view>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				show: false,
				type: 1,
				content: '',
				copyinfo: ''
			}
		},
		methods: {
			closeKefu() {
				if (this.type == 3) {
					this.$emit('close', this.copyinfo)
				}
				this.show = false
				this.type = 1
			}
		}
	}
</script>

<style lang="scss" scoped>
	.kefu-info {
		width: 500rpx;
		padding: 40rpx 0;
		padding-bottom: 20rpx;
	}

	.kefu-img {
		width: 400rpx;
	}

	.kefu-desc {
		font-size: 28rpx;
		width: 400rpx;
		text-align: center;
	}
</style>